﻿Public Interface ICRMNegoc

    Function BuscarClientePorId(ByVal _setor As SetorNegocio) As Cliente

    Function BuscarClientePorEvento(ByVal _setor As SetorNegocio, ByVal _evento As Evento) As Cliente

    Function BuscarClientesPorNomeLike(ByVal _setor As SetorNegocio, ByVal _nomeLike As String) As IList(Of Cliente)

    Function CadastrarCliente(ByVal _usuario As Usuario, ByVal _nome As String, Optional ByVal _setorProprietario As SetorNegocio = Nothing)

    ''' <summary>
    ''' Excluir em versoes futuras
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function BuscarUsuarioPorLogin(ByVal _login As String) As Usuario

    Function BuscarTiposTelefone() As IList(Of TipoTelefone)

    Function BuscarSetoresNegocio() As IList(Of SetorNegocio)

    Function CadastrarTelefone(ByVal _usuario As Usuario, ByVal _cliente As Cliente, ByVal _ddd As String, ByVal _tipo As TipoTelefone, ByVal _telefone As String)

End Interface
